package com.un.ebs.core.exception;

/**
 * @author liubo
 * @email liubocs@163.com
 * @date 2020/5/19 16:07
 */
public class BusinessDataRepeatException extends RuntimeException {
    public BusinessDataRepeatException(String data, String objName) {
        super(String.format("%s数据重复 : %s", objName, data));
    }

    public BusinessDataRepeatException(String msg) {
        super(msg);
    }
}
